/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dtd.to.xmlschema;

/**
 *
 * @author Tomas Plevko <324589@mail.muni.cz>
 * @version 0.1
 */
public class DTDAttribute {
    
    private String attributeName;
    private String elementName;
    private String attributeType;
    private String defaultValue;
    
    public DTDAttribute(String elementName, String attributeName, String attributeType, String defaultValue) {
        this.elementName = elementName;
        this.attributeName = attributeName;
        this.attributeType = attributeType;
        this.defaultValue = defaultValue;
    }
    
    public DTDAttribute() {
    }
    
    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }
    
    public void setAttributeType(String attributeType) {
        
        this.attributeType = attributeType;
    }
    
    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }
    
    public void setElementName(String elementName) {
        this.elementName = elementName;
    }
    
    public String getAttributeName() {
        return attributeName;
    }
    
    
    public String getElementName() {
        return elementName;
    }
    
    public String getAttributeType() {
        return attributeType;
    }
    
    public String getDefaultValue() {
        return defaultValue;
    }

    @Override
    public String toString() {
        return "DTDAttribute{" + "attributeName=" + attributeName + ", elementName=" + elementName + ", attributeType=" + attributeType + ", defaultValue=" + defaultValue + '}';
    }
}
